import sun.applet.Main;

public class test {
    public static void main(String[] args) {
        int a=10;
        int b=20;
        System.out.println(a & b);
    }
    public static void main15(String[] args) {
        int a=1;
        int b=1;
        int val=a++;
        int ss=++b;
        System.out.println(val);
        System.out.println(ss);

        int c=10;
        c=c++;
        System.out.println(c);
    }

    public static void main14(String[] args) {
        System.out.println(6.3%2);
    }
    public static void main13(String[] args) {
        System.out.println(7 % 3);
        System.out.println(7 % -3);
        System.out.println(-7 % 3);
        System.out.println(-7 % -3);
    }
    public static void main12(String[] args) {
        String str="123";
        int val=Integer.parseInt(str);
        System.out.println(val);

        int a=12345;
        String sss=String.valueOf(a);
        System.out.println(sss);
    }
    public static void main11(String[] args) {
        String s="hello";
        System.out.println(s+11223);

        String s1="hello";
        String s2="word";
        System.out.println(s2+s1);

        int a=10;
        System.out.println("a==" + a);
    }
    public static void main10(String[] args) {
        byte b1=10;
        byte b2=20;
        //byte b3=b1+b2;
        byte b3=(byte)(b1+b2);
        System.out.println(b3);
    }
    public static void main9(String[] args) {
        int a=10;
        long b=100L;
        //a=b;
        a=(int)b;
        System.out.println(a);
        b=a;
    }
    public static void main8(String[] args) {
        boolean a=true;
        boolean b=false;
        System.out.println(a);
        System.out.println(b);
    }
    public static void main7(String[] args) {
        char c='牛';
        System.out.println(c);

    }
    public static void main6(String[] args) {
        float f=12.5f;//加f
        System.out.println(f);

        double d=12.5;
        System.out.println(d);

        int a=1;
        int b=2;
        System.out.println(a / b);
//        float c=1;
        int c=1;
        int e=2;
        System.out.println(c*1.0 /e);

    }

    public static void main5(String[] args) {
        byte a=127;
        System.out.println(a);
        System.out.println(Byte.MAX_VALUE);
        System.out.println(Byte.MIN_VALUE);
    }
    public static void main4(String[] args) {
        short a=10;
        System.out.println(a);
        System.out.println(Short.MAX_VALUE);
        System.out.println(Short.MIN_VALUE);
    }
    public static void main3(String[] args) {
        long a=10L;
        System.out.println(a);
        System.out.println(Long.MAX_VALUE);
        System.out.println(Long.MIN_VALUE);
    }
    public static void main2(String[] args) {
    int a=10;
        System.out.println(Integer.MAX_VALUE);
        System.out.println(Integer.MIN_VALUE);

    }
    public static void main1(String[] args) {
        System.out.println("hello");
    }
}
